package com.oauth.google.client.rpc.picasa;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.oauth.components.client.rpc.exception.SessionExpiredException;
import com.oauth.google.client.beans.orkut.HttpQueryString;
import com.oauth.google.client.beans.picassa.GooglePicasaModel;
import com.oauth.google.client.beans.picassa.PicasaPhoto;
import com.oauth.google.client.exception.GoogleOAuthException;

@RemoteServiceRelativePath("../google/picasa.ajax")
public interface PicasaRemoteService extends RemoteService {
	public GooglePicasaModel getPicasaAlbums(HttpQueryString pQueryString)
			throws SessionExpiredException, GoogleOAuthException;

	List<PicasaPhoto> getPhotosForAlbum(String albumId) throws SessionExpiredException, Exception;
}
